<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
    <base href="<%=request.getContextPath()%>/"/>
    <script src="js/jquery.min.js"></script>
    <!-- Bootstrap Core JavaScript -->
    <script src="js/bootstrap.js"></script>
    <script src="toolutils/ckeditor/ckeditor.js"></script>
    <link href="css/bootstrap.css" rel="stylesheet">
</head>
<body>
<div class="container" style="width:100%;">
    <div class="row clearfix">
        <div class="col-md-12 column">
            <form role="form" action="lightbox/save" method="post">
                <div class="form-group">
                    <label for="picUrl">图片Url</label><input type="text" class="form-control" id="picUrl" name="picUrl"/>
                </div>
                <div class="form-group">
                    <%--<label for="remark">备注</label><input type="text" class="form-control"--%>
                                                            <%--id="remark" name="remark"/>--%>
                    <textarea  class="ckeditor" name="remark"></textarea>
                </div>
                <input type="submit" class="btn btn-default"/>
            </form>
            <div id="toolbar-container"></div>
            <div id="editor">
                <p>This is the initial editor content.</p>
            </div>
        </div>
    </div>
</div>
</body>
</html>
<script type="text/javascript">
    CKEDITOR.replace('remark', {
        "filebrowserUploadUrl" : "<%=request.getContextPath()%>/lightbox/upload"
    });
</script>
